using Agron.Data.Contracts;

using System;
using System.Collections.Generic;
using System.ServiceModel;


namespace Agron.Services.Contracts
{
    /// <summary>
    /// Defines the contract for the <c>Directory Service</c>.
    /// </summary>
    [ServiceContract]
    public interface IDirectoryService
    {
        /// <summary>
        /// Lists the <see cref="UserProfile"/> of the members of a provided session.
        /// </summary>
        /// <param name="sessionId">The session's unique identifier.</param>
        /// <returns>A collection of <see cref="UserProfile"/> of the members of a provided session.</returns>
        [OperationContract]
        IEnumerable<UserProfile> ListSessionMembers(int sessionId);
    }
}
